package py.com.alfa.escriba.web.rest.secure;

import java.util.List;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import py.com.alfa.escriba.exception.ServiceException;
import py.com.alfa.escriba.persistence.dto.admin.PaisDTO;
import py.com.alfa.escriba.web.rest.EscribaService;

@Path(EscribaService.SECURE_PATH + "/pais")
public interface PaisSecureRESTService {
	
	@Path("/listPaises")
	@GET
	@Produces(MediaType.APPLICATION_JSON)	
	public List<PaisDTO>   listPaises() throws ServiceException;
	
	@Path("/paisById/{id}")
	@GET
	@Produces(MediaType.APPLICATION_JSON)	
	public PaisDTO   paisById(@PathParam("id")Long id) throws ServiceException;
	
	@Path("/paisBycodigo/{codigo}")
	@GET
	@Produces(MediaType.APPLICATION_JSON)	
	public PaisDTO   paisBycodigo(@PathParam("codigo")String codigo) throws ServiceException;

}
